package cn.com.selenium;

import cn.com.selenium.service.SeleniumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author keying.xia
 * @date 2017/12/6
 */
@org.springframework.stereotype.Controller
public class Controller {

    @Autowired
    private SeleniumService seleniumService;

    @GetMapping("/hello")
    public void hello(){
        seleniumService.phantomjs();

    }


}
